﻿<!--#include file="const.inc"-->

<%

select case v
case "0"
we0="<br/>"
hr="------------<br/>"
%>
<card title="发表新留言"><p align="<%=qingtian.px%>">
<%
case "1"
hr=""
zi="<span style=""color:#FF5500"">"
zi0="</span>"
we="<div class=""footer"">"
sou="<div class=""block4"">"
dao="<div class=""navi"">"
we0="</div>"
%>
<title>发表新留言</title>
</head>
<body>
<%

End Select

		if sid="Null" then
		%><%=we%><%=zi%><%=qingtian.utf8(session("username"))%>欢迎你<%=zi0%><a href="/login.asp?sid=<%=sidd%>&amp;url=/liuy/add.asp">注册/登陆</a><%=we0%><%
		else
		qingtian.info
		end if
Response.Write(""&dao&"<b><a href=""/index.asp?sid="&sidd&""">首页</a>&gt;<a href=""index.asp?sid="&sidd&""">留言首页</a>&gt;留言</b>"&we0&""&hr&"")
if v=0 then
		 %>
			留言标题:<br/>
			<input name="name" type="text" maxlength="128" emptyok="true" value="" /><br/>
			留言内容:<br/>
			<input name="remark" type="text" maxlength="128" emptyok="true" value="" /><br/>
			<anchor title="发表">发表留言<go href="comment.asp?sid=<%=sidd%>" method="post">
			<postfield name="name" value="$(name)" />
			<postfield name="remark" value="$(remark)" /></go></anchor><br/>
		<%
else
 %>
<form action="comment.asp?sid=<%=sidd%>" method="post">
<%=we%>留言标题:<%=we0%>
<input emptyok="true"  type="text" maxlength="128" name="name"" format="*N" size="15"/><br/>
<%=we%>留言内容:<%=we0%><%=sou%><textarea name="remark" rows="4"/></textarea>
<input type="submit" value="发表新帖"/><%=we0%>
</form>
		<%
end if	

 		%>
<%=qingtian.qingsav("560")%><%=hr%>
<%=sou%><a href='index.asp?sid=<%=sidd%>'>返回留言首页</a><%=we0%>
 
		<%


end Function
%>
